﻿using System.Collections.Generic;

namespace WhereIsMyCash.Entity
{
    /// <summary>
    /// 银行卡实体
    /// </summary>
    public class CardInfo : BaseEntity
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 银行卡号
        /// </summary>
        public string CardNumber { get; set; }

        /// <summary>
        /// 帐户ID
        /// </summary>
        public int AccountID { get; set; }

        /// <summary>
        /// 卡片类型
        /// </summary>
        public enum Type
        { 
            储蓄卡,信用卡,普通帐号
        }
    }


    /// <summary>
    /// 银行卡实体列表
    /// </summary>
    public class CardInfos : List<CardInfo>
    { 
    
    }
}
